var browser = require('browser-x');

// https://github.com/aui/browser-x
// npm install browser-x

var url = 'https://item.jd.com/10026037156515.html';
browser({
    url: url,
    loadCssFile: true,
    silent: false
}, function (errors, window) {
    if (errors) {
        throw errors;
    }
    var document = window.document;
    console.log(document.getElementsByTagName('html')[0].outerHTML);
});